<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>主页 - Mubea</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="renderer" content="webkit" />
<link rel="shortcut Icon" href="/favicon.ico" type="image/x-icon" />
<link href="../source/css/base.css" rel="stylesheet" type="text/css" />
<link href="../source/css/main.css" rel="stylesheet" type="text/css" />
<link href="../source/css/element-ui@2.4.0.index.css" rel="stylesheet" type="text/css" />

</head>
    <div id="app" class="main-page">
        <!--<div class="header">
            <div class="base-width cf">
                <a href="./main.html" class="fl">
                    <img class="logo" src="../source/img/logo.png" alt="" />
                </a>

                <el-dropdown class="username fr" v-if="username" v-cloak>
                      <span class="el-dropdown-link">
                        {{username}}<i class="el-icon-arrow-down el-icon&#45;&#45;right"></i>
                      </span>
                    <el-dropdown-menu class="username-dropdown" slot="dropdown">
                        <el-dropdown-item>
                            <a href="javascript:;" @click="loginout">退出</a>
                        </el-dropdown-item>
                    </el-dropdown-menu>
                </el-dropdown>
            </div>
        </div>-->
        <asn-header></asn-header>

        <div class="base-width">
            <div class="banner">
                <img src="../source/img/main_banner.png" alt="">
            </div>

            <div class="nav-box">
                <el-row :gutter="20">
                    <el-col :span="8">
                        <a href="./intro.html?v0619" class="intro-link">企业介绍</a>
                    </el-col>

                    <el-col :span="8">
                        <el-dropdown>
                            <span class="el-dropdown-link">
                                订单功能<i class="el-icon-arrow-down el-icon--right"></i>
                            </span>

                            <el-dropdown-menu slot="dropdown">
                                <el-dropdown-item v-if="type == 0">
                                    <a href="./order_upload.html?v0619">订单上传</a>
                                </el-dropdown-item>
                                <el-dropdown-item v-if="type == 1">
                                    <a href="./order_down.html?v0619">订单下载</a>
                                </el-dropdown-item>
                                <el-dropdown-item>
                                    <a href="./order_history.html?v0619">订单历史</a>
                                </el-dropdown-item>
                            </el-dropdown-menu>
                        </el-dropdown>
                    </el-col>

                    <el-col :span="8">
                        <el-dropdown>
                            <span class="el-dropdown-link">
                                ASN功能<i class="el-icon-arrow-down el-icon--right"></i>
                            </span>

                            <el-dropdown-menu slot="dropdown">
                                <el-dropdown-item v-if="type == 1">
                                    <a href="./asn_upload.html?v0619">ASN上传</a>
                                </el-dropdown-item>
                                <el-dropdown-item v-if="type == 1">
                                    <a href="./asn_add.html?v0619">ASN新增</a>
                                </el-dropdown-item>

                                <el-dropdown-item>
                                    <a href="./asn_history.html?v0619">ASN历史</a>
                                </el-dropdown-item>
                            </el-dropdown-menu>
                        </el-dropdown>
                    </el-col>
                </el-row>
            </div>
        </div>
    </div>

<script src="../source/js/lib/vue.min.js"></script>
<script src="../source/js/lib/jquery.min.js"></script>
<script src="../source/js/lib/element-ui@2.4.0.index.js"></script>
<script src="../source/js/common.js?0622"></script>
<script>
    var app = new Vue({
        el:'#app',
        data : {
            "username":decodeURIComponent(getCookie('username')),
            type:getCookie('type')  //0 计 1供
        },
        methods: {
            /*isLogin:function(){
                var username = getCookie('username');
                var type = getCookie('type');
                if(username && username != 'undefined' && type &&  type != 'undefined'){
                    return true;
                }
                return false;
            },*/
            /*loginout:function(){
                removeCookie('username');
                removeCookie('type');
                location.href='./login.html';
            }*/
        },
        created:function(){
            /*if(!this.isLogin()){ //登录
                location.href = './login.html';
            }*/
        }
    })
</script>
</body>
</html>